package com.sys.service;

import com.sys.bean.Car;

import java.util.List;

public interface CarService {
    //新增车辆
    boolean insert(Car car);
    //删除车辆
    boolean delete(Integer carId);
    //修改车辆
    boolean update(Car car);
    //根据id查询
    Car selectByCarId(Integer carId);
    //根据车主姓名查询
    List<Car>  selectByOwnerName(String ownerName);
    //查询所有
    List<Car> selectAll();
}

